Re: [NTG-context] Achieving the effect of \overset outside math mode

2021-11-11 Thread kauśika via ntg-context
On Friday, November 12, 2021 8:32:17 AM IST Rik Kabel via ntg-context wrote: > Search for defineruby on the mailing list archives. > > -- > Rik Dear Rik, First of all, thank you for the quick response! Wow! With the very first search result itself, I was able to achieve what I want

Re: [NTG-context] Achieving the effect of \overset outside math mode

2021-11-11 Thread Rik Kabel via ntg-context
is to place a smaller piece of text above another larger piece of text so that the text above is centered w.r.t the text below. Please advise. Thanks, kauśika Search for defineruby on the mailing list archives. -- Rik

Re: [NTG-context] What is the ConTeXt way to handle this \vbox trick?

2021-05-09 Thread Hans Hagen
? Thank you in advance. you can use some old, probaly never really used, mechanism ... \defineruby[auto] [align=auto,color=darkred] \defineruby[left] [align=flushleft,color=darkred] \defineruby[right] [align=flushright,color=darkred] \defineruby[spread][stretch=yes] \setupinterlinespace[22pt

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Wolfgang Schuster
to inject a \setupalign[r2l], but all my tries only gave this one as a correct result: \define[2]\InterlinearText     {\setupalign[r2l]\definedfont[file:arial*arabic at 16 pt] \ruby{{\setupalign[r2l]#1}}{\setupalign[l2r]\definedfont[name:arial at 10pt]#2}} \defineruby [interlineartext] [style

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Huseyin Özoguz
;قال","sagte (Es)" "رسول","Gesandte (der)" "الله","Gottes" \stopbuffer \define[2]\InterlinearText   {\ruby{#1}{#2} } % \defineruby %   [interlineartext] %   [style=] % % \define[2]\InterlinearText %   {\ruby[interlineartext]

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Wolfgang Schuster
t \definedfont[file:arial*arabic at 16 pt] \processdatabasebuffer[interlineartext][sample] \stoptext Probably something with your font/alignment switching. \usemodule [database] \startbuffer[sample] "قال","sagte (Es)" "رسول","Gesandte (der)" "الله",

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Wolfgang Schuster
Floris van Manen schrieb am 03.12.18 um 14:59: where can i find the description and features of the \ruby and \defineruby commands? For a list with all keys/values look into setup-en.pdf. Wolfgang ___ If your

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Floris van Manen
where can i find the description and features of the \ruby and \defineruby commands? .F > On 3 Dec 2018, at 13:36, Wolfgang Schuster > wrote: > > > > Huseyin Özoguz schrieb am 03.12.18 um 12:51: >> Thanks and I may have questions to the actual question about int

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Huseyin Özoguz
um 13:24 schrieb Hans Hagen: On 12/3/2018 12:51 PM, Huseyin Özoguz wrote: Thank you, I will investigate it, seems to be a pretty powerful mechanism. First it failed to compile (with Context version from 2015, did not know \defineruby), but with the most recent beta it does well. So a small btw

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Hans Hagen
On 12/3/2018 12:51 PM, Huseyin Özoguz wrote: Thank you, I will investigate it, seems to be a pretty powerful mechanism. First it failed to compile (with Context version from 2015, did not know \defineruby), but with the most recent beta it does well. So a small btw-question, I compile out

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Huseyin Özoguz
Thank you, I will investigate it, seems to be a pretty powerful mechanism. First it failed to compile (with Context version from 2015, did not know \defineruby), but with the most recent beta it does well. So a small btw-question, I compile out of notepad++ (windows 7, 64 bit) with this code

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Hans Hagen
. How can I achieve a nice way with this simple readable macros? Processing this might give you some ideas: \usemodule[art-01]\setupbodyfont[dejavu,12pt] \defineruby[auto] [align=auto,color=darkred] \defineruby[left] [align=flushleft,color=darkred] \defineruby[right] [align=flushright,color

Re: [NTG-context] Guitar chords

2018-08-20 Thread Lizardo Reyna
Thanks for the example, it works! On 19/08/18 14:29, Wolfgang Schuster wrote: > \defineruby[song][style=\ss\it,align=flushleft] > > \setupinterlinespace[line=5ex] > > \starttext > > \ruby[song]{Praise}{G} God, \ruby[song]{from}{D} \ruby[song]{Whom}{Em} > \ruby[song]{al

Re: [NTG-context] Guitar chords

2018-08-19 Thread Wolfgang Schuster
\defineruby[song][style=\ss\it,align=flushleft] \setupinterlinespace[line=5ex] \starttext \ruby[song]{Praise}{G} God, \ruby[song]{from}{D} \ruby[song]{Whom}{Em} \ruby[song]{all}{Bm} \ruby[song]{bless}{Em}\ruby[song]{ings}{D} \ruby[song]{flow}{G}; \start \setupruby[style=\ss\it,align

Re: [NTG-context] on the t-ruby module

2015-02-18 Thread Wolfgang Schuster
Am 18.02.2015 um 20:04 schrieb Pablo Rodriguez oi...@gmx.es: Hi Wolfgang, I have just discovered your t-ruby module. Many thanks for this module, which is extremely useful for interlinear translations. Here you have the sample: \usemodule[ruby] \defineruby[trans][textstyle

Re: [NTG-context] on the t-ruby module

2015-02-18 Thread Wolfgang Schuster
. Here you have the sample: \usemodule[ruby] \defineruby[trans][textstyle=\it] \starttext \startTEXpage[offset=1em] \trans{The}{Der} \trans{sentence}{Satz} \trans{is}{ist} \trans{right}{richtig}. \blank[big] \trans{Der}{The} \trans{Satz}{sentence} \trans{ist}{is} \trans{richtig

[NTG-context] on the t-ruby module

2015-02-18 Thread Pablo Rodriguez
Hi Wolfgang, I have just discovered your t-ruby module. Many thanks for this module, which is extremely useful for interlinear translations. Here you have the sample: \usemodule[ruby] \defineruby[trans][textstyle=\it] \starttext \startTEXpage[offset=1em] \trans{The}{Der} \trans{sentence}{Satz

Re: [NTG-context] Latex to ConTeXt

2012-12-02 Thread Wolfgang Schuster
{tabular}{@{}c}{\textDidot{\footnotesize#1}}\\{\scriptsize\em#2}\end{tabular}} \usemodule[ruby] \defineruby[dos] \starttext Left \dos{middle}{middle text} right \blank Left \dos[alternative=bottom]{middle}{middle text} right \blank Left \dos[textstyle={\setcharactercasing[WORD]\tfxx}]{middle